using PostSharp.Aspects;

namespace Framework.Common.AOP
{
    /// <summary>
    /// formatter
    /// </summary>
    internal static class Formatter
    {
        /// <summary>
        /// Format
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        public static string Format(MethodExecutionArgs args)
        {
            return Common.Formatter.Format(args.Instance, args.Arguments.ToArray(), args.Method);
        }
    }
}